Use the single-precision babl_linear_to_gamma_2_2f() function,
instead of the double-precision version, when converting "leftover"
samples, so that the result is consistent with the vectorized
samples.
while (samples--)
{
- *dst++ = babl_linear_to_gamma_2_2 (*src++);
+ *dst++ = babl_linear_to_gamma_2_2f (*src++);
*dst++ = *src++;
}
}
while (samples--)
{
- *dst++ = babl_linear_to_gamma_2_2 (*src++);
+ *dst++ = babl_linear_to_gamma_2_2f (*src++);
}
}